From: Klas Lindfors Date: Mon, 17 Sep 2012 13:18:05 +0000 (+0200) Subject: make _get_supported_key_length() static X-Git-Tag: v1.8.0~64 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d505bfc7d7fba4e690de402da5fa7c7fdcda716a;p=yubikey-personalization make _get_supported_key_length() static --- diff --git a/ykpers.c b/ykpers.c index 35f2bea..05c0b99 100644 --- a/ykpers.c +++ b/ykpers.c @@ -221,7 +221,7 @@ int ykp_configure_for(YKP_CONFIG *cfg, int confnum, YK_STATUS *st) /* Return number of bytes of key data for this configuration. * 20 bytes is 160 bits, 16 bytes is 128. */ -int _get_supported_key_length(const YKP_CONFIG *cfg) +static int _get_supported_key_length(const YKP_CONFIG *cfg) { /* OATH-HOTP and HMAC-SHA1 challenge response support 20 byte (160 bits) * keys, holding the last four bytes in the uid field.