diff options
author | beck <> | 2017-01-29 17:49:23 +0000 |
---|---|---|
committer | beck <> | 2017-01-29 17:49:23 +0000 |
commit | d1f47bd292f36094480caa49ada36b99a69c59b0 (patch) | |
tree | 1a54abba678898ee5270ae4f3404a50ee9a92eea /src/lib/libcrypto/engine/eng_fat.c | |
parent | f8c627888330b75c2eea8a3c27d0efe947a4f9da (diff) | |
download | openbsd-d1f47bd292f36094480caa49ada36b99a69c59b0.tar.gz openbsd-d1f47bd292f36094480caa49ada36b99a69c59b0.tar.bz2 openbsd-d1f47bd292f36094480caa49ada36b99a69c59b0.zip |
Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
Diffstat (limited to 'src/lib/libcrypto/engine/eng_fat.c')
-rw-r--r-- | src/lib/libcrypto/engine/eng_fat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/engine/eng_fat.c b/src/lib/libcrypto/engine/eng_fat.c index b54757d8ad..c97695a7d3 100644 --- a/src/lib/libcrypto/engine/eng_fat.c +++ b/src/lib/libcrypto/engine/eng_fat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: eng_fat.c,v 1.15 2015/02/11 03:19:37 doug Exp $ */ | 1 | /* $OpenBSD: eng_fat.c,v 1.16 2017/01/29 17:49:23 beck Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -147,8 +147,7 @@ ENGINE_set_default_string(ENGINE *e, const char *def_list) | |||
147 | unsigned int flags = 0; | 147 | unsigned int flags = 0; |
148 | 148 | ||
149 | if (!CONF_parse_list(def_list, ',', 1, int_def_cb, &flags)) { | 149 | if (!CONF_parse_list(def_list, ',', 1, int_def_cb, &flags)) { |
150 | ENGINEerr(ENGINE_F_ENGINE_SET_DEFAULT_STRING, | 150 | ENGINEerror(ENGINE_R_INVALID_STRING); |
151 | ENGINE_R_INVALID_STRING); | ||
152 | ERR_asprintf_error_data("str=%s",def_list); | 151 | ERR_asprintf_error_data("str=%s",def_list); |
153 | return 0; | 152 | return 0; |
154 | } | 153 | } |