summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/ssltest.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-17 21:41:12 +0000
committertedu <tedu@openbsd.org>2014-04-17 21:41:12 +0000
commit0cc59c64afb2fe888f40f2e1a47913c18ec9aaef (patch)
tree9e9afbeda4f6c2e0753f01a5f23a1aedc87333f3 /lib/libssl/src/ssl/ssltest.c
parentalways build in RSA and DSA. ok deraadt miod (diff)
downloadwireguard-openbsd-0cc59c64afb2fe888f40f2e1a47913c18ec9aaef.tar.xz
wireguard-openbsd-0cc59c64afb2fe888f40f2e1a47913c18ec9aaef.zip
no longer need to fool emacs indentation and other if (0) oddities.
Diffstat (limited to 'lib/libssl/src/ssl/ssltest.c')
-rw-r--r--lib/libssl/src/ssl/ssltest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/src/ssl/ssltest.c b/lib/libssl/src/ssl/ssltest.c
index 1ce08c957d4..700189db432 100644
--- a/lib/libssl/src/ssl/ssltest.c
+++ b/lib/libssl/src/ssl/ssltest.c
@@ -355,9 +355,7 @@ print_details(SSL *c_ssl, const char *prefix)
if (cert != NULL) {
EVP_PKEY *pkey = X509_get_pubkey(cert);
if (pkey != NULL) {
- if (0)
-;
- else if (pkey->type == EVP_PKEY_RSA &&
+ if (pkey->type == EVP_PKEY_RSA &&
pkey->pkey.rsa != NULL &&
pkey->pkey.rsa->n != NULL) {
BIO_printf(bio_stdout, ", %d bit RSA",