From: reyk Date: Sat, 10 May 2014 21:34:07 +0000 (+0000) Subject: Fix SSL breakage that I accidentally introduced with my previous commit. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ba07a34059ddda373b6c4cbdf4e37404ed1cfaad;p=openbsd Fix SSL breakage that I accidentally introduced with my previous commit. --- diff --git a/usr.sbin/smtpd/ssl.c b/usr.sbin/smtpd/ssl.c index 7b68ea43edf..99d2b633ba8 100644 --- a/usr.sbin/smtpd/ssl.c +++ b/usr.sbin/smtpd/ssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.c,v 1.64 2014/05/06 11:03:03 reyk Exp $ */ +/* $OpenBSD: ssl.c,v 1.65 2014/05/10 21:34:07 reyk Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard @@ -497,6 +497,7 @@ ssl_ctx_load_pkey(SSL_CTX *ctx, void *data, char *buf, off_t len, RSA_set_ex_data(rsa, 0, data); RSA_free(rsa); /* dereference, will be cleaned up with pkey */ + goto done; fail: ssl_error("ssl_ctx_load_pkey");