summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_clnt.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/d1_clnt.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/d1_clnt.c')
-rw-r--r--lib/libssl/d1_clnt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/d1_clnt.c b/lib/libssl/d1_clnt.c
index 1ad65ba5416..b919baf7faa 100644
--- a/lib/libssl/d1_clnt.c
+++ b/lib/libssl/d1_clnt.c
@@ -945,10 +945,7 @@ dtls1_send_client_key_exchange(SSL *s)
alg_k = s->s3->tmp.new_cipher->algorithm_mkey;
- /* Fool emacs indentation */
- if (0) {
- }
- else if (alg_k & SSL_kRSA) {
+ if (alg_k & SSL_kRSA) {
RSA *rsa;
unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH];