Added SILC_LOG_ERRORs.
[silc.git] / lib / silccrypt / silcpkcs.c
index f5ae7873274dcb762bb75d695820df6941122066..55c4c8084e08054cb8863d5a957c716900c38ec7 100644 (file)
@@ -513,7 +513,7 @@ SilcUInt32 silc_pkcs_public_key_get_len(SilcPublicKey public_key)
 void *silc_pkcs_get_context(SilcPKCSType type, SilcPublicKey public_key)
 {
   if (public_key->pkcs->type != type)
-    return FALSE;
+    return NULL;
   return public_key->public_key;
 }