]> err.no Git - yubikey-server-c/commitdiff
More paranoia
authorTollef Fog Heen <tfheen@err.no>
Mon, 12 Oct 2009 09:19:11 +0000 (11:19 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 12 Oct 2009 09:19:11 +0000 (11:19 +0200)
src/main.c

index e704da69e5ecd90452b8b4ca03b9506ebe18b554..67491e513dc7aa522c437f0251de7aa9ea86da26 100644 (file)
@@ -341,7 +341,7 @@ static int handle_request(void * UNUSED(data),
        const char *id = NULL, *otp = NULL, *h = NULL;
        char *uid = NULL, *otp_token = NULL;
        char *signature = NULL, *status = NULL, *info = NULL, *timestamp = NULL;
-       char *shared_secret;
+       char *shared_secret = NULL;
        size_t shared_secret_len;
        yubikey_token_st token;
        struct ykc_stats stats;