* Make public key in getkey reply mandatory. Affected file
lib/silcclient/command_reply.c
+Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger <jochen@penguin-breeder.org>
+
+ * Make public key in getkey reply mandatory. Affected file
+ lib/silcclient/command_reply.c
+
Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher <pat@icore.at>
* Added Parameter dont_register_crypto_library to
public_key = NULL;
}
+ if (!public_key) {
+ COMMAND_REPLY_ERROR(SILC_STATUS_ERR_NOT_ENOUGH_PARAMS);
+ goto out;
+ }
+
id_type = silc_id_payload_get_type(idp);
if (id_type == SILC_ID_CLIENT) {
/* Received client's public key */