summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/ssl_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 2da0a60c08..acb34e28af 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.215 2020/05/21 19:28:32 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.216 2020/05/23 11:30:12 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 *
@@ -1945,8 +1945,8 @@ SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u)
1945} 1945}
1946 1946
1947void 1947void
1948SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *, 1948SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,
1949 void *), void *arg) 1949 int (*cb)(X509_STORE_CTX *, void *), void *arg)
1950{ 1950{
1951 ctx->internal->app_verify_callback = cb; 1951 ctx->internal->app_verify_callback = cb;
1952 ctx->internal->app_verify_arg = arg; 1952 ctx->internal->app_verify_arg = arg;