summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 5cae53041d..4f1eb5bf0a 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.184 2018/04/14 07:09:21 tb Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.185 2018/04/25 07:10:39 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2654,7 +2654,7 @@ SSL_get_certificate(const SSL *s)
2654 2654
2655/* Fix this function so that it takes an optional type parameter */ 2655/* Fix this function so that it takes an optional type parameter */
2656EVP_PKEY * 2656EVP_PKEY *
2657SSL_get_privatekey(SSL *s) 2657SSL_get_privatekey(const SSL *s)
2658{ 2658{
2659 if (s->cert != NULL) 2659 if (s->cert != NULL)
2660 return (s->cert->key->privatekey); 2660 return (s->cert->key->privatekey);