summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librabbitmq/amqp_openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c
index a35a514..6b9d4a9 100644
--- a/librabbitmq/amqp_openssl.c
+++ b/librabbitmq/amqp_openssl.c
@@ -451,6 +451,7 @@ int amqp_ssl_socket_set_key_buffer(amqp_socket_t *base, const char *cert,
if (1 != status) {
goto error;
}
+ status = AMQP_STATUS_OK;
exit:
BIO_vfree(buf);
RSA_free(rsa);