X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilchmac.c;h=8554ddbddef92b5ca14233ec3664f9ea1eb8fd61;hp=ddf7453b544b247b0af0b34d80ea2d1aba583481;hb=a24dcffe20a3f0059fb58619b57b488d2bfae5ad;hpb=3464b5361b0d36180cb72996e30b2bfc754b28d4 diff --git a/lib/silccrypt/silchmac.c b/lib/silccrypt/silchmac.c index ddf7453b..8554ddbd 100644 --- a/lib/silccrypt/silchmac.c +++ b/lib/silccrypt/silchmac.c @@ -20,8 +20,11 @@ /* * $Id$ * $Log$ - * Revision 1.1 2000/06/27 11:36:55 priikone - * Initial revision + * Revision 1.2 2000/07/05 06:08:43 priikone + * Global cosmetic change. + * + * Revision 1.1.1.1 2000/06/27 11:36:55 priikone + * Imported from internal CVS/Added Log headers. * * */ @@ -37,11 +40,6 @@ int silc_hmac_alloc(SilcHash hash, SilcHmac *new_hmac) SILC_LOG_DEBUG(("Allocating new hmac object")); *new_hmac = silc_calloc(1, sizeof(**new_hmac)); - if (*new_hmac == NULL) { - SILC_LOG_ERROR(("Could not allocate new hmac object")); - return 0; - } - (*new_hmac)->hash = hash; (*new_hmac)->set_key = silc_hmac_set_key; (*new_hmac)->make_hmac = silc_hmac_make;