summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_cert.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-11 17:37:47 +0000
committerjsing <jsing@openbsd.org>2015-09-11 17:37:47 +0000
commite5af73d22ad67914b1150477e7ee530411884edb (patch)
tree8ff64e366c6514619ef2d652cf23a2da733d1f7a /lib/libssl/ssl_cert.c
parentNuke ssl_bad_method(). (diff)
downloadwireguard-openbsd-e5af73d22ad67914b1150477e7ee530411884edb.tar.xz
wireguard-openbsd-e5af73d22ad67914b1150477e7ee530411884edb.zip
Nuke ssl_set_peer_cert_type().
ok "flensing knife"
Diffstat (limited to 'lib/libssl/ssl_cert.c')
-rw-r--r--lib/libssl/ssl_cert.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libssl/ssl_cert.c b/lib/libssl/ssl_cert.c
index bc864883c8f..cdac7bdb363 100644
--- a/lib/libssl/ssl_cert.c
+++ b/lib/libssl/ssl_cert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_cert.c,v 1.50 2015/04/06 04:09:59 guenther Exp $ */
+/* $OpenBSD: ssl_cert.c,v 1.51 2015/09/11 17:37:47 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -412,13 +412,6 @@ ssl_sess_cert_free(SESS_CERT *sc)
}
int
-ssl_set_peer_cert_type(SESS_CERT *sc, int type)
-{
- sc->peer_cert_type = type;
- return (1);
-}
-
-int
ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk)
{
X509_STORE_CTX ctx;