summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-05-05 15:03:22 +0000
committertedu <tedu@openbsd.org>2014-05-05 15:03:22 +0000
commit8a8f3f13dd1fd3d25edeb39c5f7566180cd105f8 (patch)
treebcf94eb93f2a60e72350cf5ac63be771a19d7b94 /lib/libssl/ssl_txt.c
parentA couple of malloc()+memset(0) -> calloc. (diff)
downloadwireguard-openbsd-8a8f3f13dd1fd3d25edeb39c5f7566180cd105f8.tar.xz
wireguard-openbsd-8a8f3f13dd1fd3d25edeb39c5f7566180cd105f8.zip
Remove SRP and Kerberos support from libssl. These are complex protocols
all on their own and we can't effectively maintain them without using them, which we don't. If the need arises, the code can be resurrected.
Diffstat (limited to 'lib/libssl/ssl_txt.c')
-rw-r--r--lib/libssl/ssl_txt.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/libssl/ssl_txt.c b/lib/libssl/ssl_txt.c
index c6bfd68de66..01dd846596f 100644
--- a/lib/libssl/ssl_txt.c
+++ b/lib/libssl/ssl_txt.c
@@ -161,19 +161,6 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0)
goto err;
}
-#ifndef OPENSSL_NO_KRB5
- if (BIO_puts(bp, "\n Krb5 Principal: ") <= 0)
- goto err;
- if (x->krb5_client_princ_len == 0) {
- if (BIO_puts(bp, "None") <= 0)
- goto err;
- } else {
- for (i = 0; i < x->krb5_client_princ_len; i++) {
- if (BIO_printf(bp, "%02X", x->krb5_client_princ[i]) <= 0)
- goto err;
- }
- }
-#endif /* OPENSSL_NO_KRB5 */
#ifndef OPENSSL_NO_PSK
if (BIO_puts(bp, "\n PSK identity: ") <= 0)
goto err;
@@ -184,12 +171,6 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0)
goto err;
#endif
-#ifndef OPENSSL_NO_SRP
- if (BIO_puts(bp, "\n SRP username: ") <= 0)
- goto err;
- if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None") <= 0)
- goto err;
-#endif
#ifndef OPENSSL_NO_TLSEXT
if (x->tlsext_tick_lifetime_hint) {
if (BIO_printf(bp,