New SILC PKCS API, enabling support for other public keys/certs.
[silc.git] / lib / silcserver / server_st_command_reply.c
index 5fd7c34f6d53370a2899deb9b93dc44f30e0861c..83ddfd0686895d4411b75be508085c932a8b31ae 100644 (file)
@@ -451,7 +451,7 @@ SILC_FSM_STATE(silc_server_st_command_reply_getkey)
   tmp = silc_argument_get_arg_type(args, 3, &len);
   if (!tmp)
     goto out;
-  if (!silc_pkcs_public_key_payload_decode(tmp, len, &public_key))
+  if (!silc_public_key_payload_decode(tmp, len, &public_key))
     goto out;
 
   /* Store the public key */