(_krb5_pk_octetstring2key): make sha1 output unsigned char to match openssl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15681 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -4315,7 +4315,7 @@ _krb5_pk_octetstring2key(krb5_context context,
|
|||||||
size_t keylen, offset;
|
size_t keylen, offset;
|
||||||
void *keydata;
|
void *keydata;
|
||||||
unsigned char counter;
|
unsigned char counter;
|
||||||
char shaoutput[20];
|
unsigned char shaoutput[20];
|
||||||
|
|
||||||
if(et == NULL) {
|
if(et == NULL) {
|
||||||
krb5_set_error_string(context, "encryption type %d not supported",
|
krb5_set_error_string(context, "encryption type %d not supported",
|
||||||
|
Reference in New Issue
Block a user