From cf69617bbea45a15423c4188daa9386debcbe1ec Mon Sep 17 00:00:00 2001 From: James Yonan Date: Thu, 9 Dec 2010 11:21:04 +0000 Subject: Added "management-external-key" option. This option can be used instead of "key" in client mode, and allows the client to run without the need to load the actual private key. When the SSL protocol needs to perform an RSA sign operation, the data to be signed will be sent to the management interface via a notification as follows: >RSA_SIGN:[BASE64_DATA] The management interface client should then sign BASE64_DATA using the private key and return the signature as follows: rsa-sig [BASE64_SIG_LINE] . . . END This capability is intended to allow the use of arbitrary cryptographic service providers with OpenVPN via the management interface. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6708 e7ae566f-a301-0410-adde-c780ea21d3b5 --- buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buffer.c') diff --git a/buffer.c b/buffer.c index 947df90..e2f8caa 100644 --- a/buffer.c +++ b/buffer.c @@ -901,7 +901,7 @@ buffer_list_free (struct buffer_list *ol) bool buffer_list_defined (const struct buffer_list *ol) { - return ol->head != NULL; + return ol && ol->head != NULL; } void -- cgit