From 2eaeba1f93008f272aa04318a588caa46c8f8fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 23 Aug 2003 11:33:53 +0000 Subject: [PATCH] add krb5_crypto_get_checksum_type From: Luke Howard et->keyed_checksum; + if (ct == NULL) + ct = crypto->et->checksum; + } + + if (ct == NULL) { + krb5_set_error_string (context, "checksum type %d not supported", + type); + return KRB5_PROG_SUMTYPE_NOSUPP; + } + + *type = ct->type; + + return 0; +} + + krb5_error_code krb5_checksumsize(krb5_context context, krb5_cksumtype type,