artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6d6547
)
return -1 on error for consistency
author
eric
<eric@openbsd.org>
Thu, 21 Jan 2021 22:02:17 +0000
(22:02 +0000)
committer
eric
<eric@openbsd.org>
Thu, 21 Jan 2021 22:02:17 +0000
(22:02 +0000)
ok tb@
lib/libtls/tls.c
patch
|
blob
|
history
diff --git
a/lib/libtls/tls.c
b/lib/libtls/tls.c
index
02ddf44
..
5e02b5a
100644
(file)
--- a/
lib/libtls/tls.c
+++ b/
lib/libtls/tls.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tls.c,v 1.8
6 2021/01/21 19:09:10
eric Exp $ */
+/* $OpenBSD: tls.c,v 1.8
7 2021/01/21 22:02:17
eric Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@
-439,7
+439,7
@@
tls_configure_ssl_keypair(struct tls *ctx, SSL_CTX *ssl_ctx,
err:
EVP_PKEY_free(pkey);
- return (1);
+ return (
-
1);
}
int