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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 8dbd4a3f39..5bf43623fc 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.94 2014/12/15 00:46:53 doug Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.95 2015/01/22 09:12:57 reyk 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 *
@@ -2862,6 +2862,12 @@ SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
2862 return (X509_STORE_load_locations(ctx->cert_store, CAfile, CApath)); 2862 return (X509_STORE_load_locations(ctx->cert_store, CAfile, CApath));
2863} 2863}
2864 2864
2865int
2866SSL_CTX_load_verify_mem(SSL_CTX *ctx, void *buf, int len)
2867{
2868 return (X509_STORE_load_mem(ctx->cert_store, buf, len));
2869}
2870
2865void 2871void
2866SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl, int type, int val)) 2872SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl, int type, int val))
2867{ 2873{