bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23374: auth-source-macos-keychain-search pass in port only if it's p


From: Jun Hao
Subject: bug#23374: auth-source-macos-keychain-search pass in port only if it's provided
Date: Mon, 25 Apr 2016 23:11:02 +0800
User-agent: mu4e 0.9.17; emacs 24.5.1

Hi,

When calling auth-source-search without port on OSX, current code will
bind port to "nil" and generate wrong command. E.g:

(auth-source-search :user "test") will yield command:

/usr/bin/security find-generic-password -g -a "test" -s "nil"

The correct one should be:

/usr/bin/security find-generic-password -g -a "test"

Please see attachment for this simple patch

Thanks - Jun

Attachment: 0001-Pass-in-port-only-if-provided-by-caller.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]