summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-09-11 17:37:48 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-09-11 17:37:48 +0000
commitf4002ca9aa36bd4f5aaac3f80c150f36465d4fac (patch)
treeaf641b7b2938172dd7a2e34fe7a06120e6b7d62e /lib/libssl
parent99c139cfdd30d8f5c9dbcd7731ee58e9e1d3d94d (diff)
Nuke ssl_set_peer_cert_type().
ok "flensing knife"
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/ssl_cert.c9
-rw-r--r--lib/libssl/ssl_locl.h3
2 files changed, 2 insertions, 10 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;
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index 7249cabea51..976bd276189 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.117 2015/09/11 17:35:36 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.118 2015/09/11 17:37:47 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -559,7 +559,6 @@ int ssl_cert_inst(CERT **o);
void ssl_cert_free(CERT *c);
SESS_CERT *ssl_sess_cert_new(void);
void ssl_sess_cert_free(SESS_CERT *sc);
-int ssl_set_peer_cert_type(SESS_CERT *c, int type);
int ssl_get_new_session(SSL *s, int session);
int ssl_get_prev_session(SSL *s, unsigned char *session, int len,
const unsigned char *limit);