[pkg-opensc-commit] [engine-pkcs11] 21/43: Squashed a compiler warning in tests/evp-sign.c
Eric Dorland
eric at moszumanska.debian.org
Sun Jan 31 06:38:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository engine-pkcs11.
commit fc28cd9c5b36183e1d56d052902e3b25351f83b2
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date: Thu Jan 7 08:27:07 2016 +0100
Squashed a compiler warning in tests/evp-sign.c
---
tests/evp-sign.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/evp-sign.c b/tests/evp-sign.c
index a06e939..dd8ffd6 100644
--- a/tests/evp-sign.c
+++ b/tests/evp-sign.c
@@ -41,7 +41,7 @@
#include <openssl/conf.h>
/* UI method that's only used to fail if get_pin inside engine_pkcs11
- has failed to pick up in a PIN sent in with ENGINE_ctrl_cmd_string */
+ * has failed to pick up in a PIN sent in with ENGINE_ctrl_cmd_string */
static UI_METHOD *ui_detect_failed_ctrl = NULL;
static int ui_open_fail(UI *ui)
@@ -51,7 +51,7 @@ static int ui_open_fail(UI *ui)
}
/* method that's to be used for prompting with a default (which is an
- alternative to sending in a PIN sent in with ENGINE_ctrl_cmd_string) */
+ * alternative to sending in a PIN sent in with ENGINE_ctrl_cmd_string) */
static UI_METHOD *ui_console_with_default = NULL;
static int ui_read(UI *ui, UI_STRING *uis)
@@ -220,6 +220,8 @@ int main(int argc, char **argv)
display_openssl_errors(__LINE__);
exit(1);
}
+ default: /* NONE */
+ break;
}
private_key = ENGINE_load_private_key(e, private_key_name,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git
More information about the pkg-opensc-commit
mailing list