/*
* Copyright (C) 2010, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: isc-hmac-fixup.c,v 1.4 2010/03/10 02:17:52 marka Exp $ */
#include <config.h>
int
isc_region_t r;
if (argc != 3) {
#ifndef PK11_MD5_DISABLE
"SHA256 | SHA384 | SHA512)\n");
#else
"SHA256 | SHA384 | SHA512)\n");
#endif
return (1);
}
if (result != ISC_R_SUCCESS) {
return (1);
}
isc_buffer_usedregion(&buf, &r);
#ifndef PK11_MD5_DISABLE
}
} else
#endif
if (r.length > ISC_SHA1_DIGESTLENGTH) {
}
if (r.length > ISC_SHA224_DIGESTLENGTH) {
}
if (r.length > ISC_SHA256_DIGESTLENGTH) {
}
if (r.length > ISC_SHA384_DIGESTLENGTH) {
}
if (r.length > ISC_SHA512_DIGESTLENGTH) {
}
} else {
return (1);
}
if (result != ISC_R_SUCCESS) {
return (1);
}
return (0);
}