#include "keyid.h"
#include "keystructs.h"
+#include "log.h"
#include "md5.h"
#include "sha.h"
memcpy(fingerprint, buff, *len);
break;
default:
- fprintf(stderr, "Unknown key type: %d\n",
+ logthing(LOGTHING_ERROR, "Unknown key type: %d",
packet->data[0]);
}
keyid += packet->data[offset++];
}
} else {
- fputs("Type 2 or 3 key, but not RSA.\n", stderr);
+ logthing(LOGTHING_ERROR,
+ "Type 2 or 3 key, but not RSA.");
}
break;
case 4:
break;
default:
- fprintf(stderr, "Unknown key type: %d\n",
+ logthing(LOGTHING_ERROR, "Unknown key type: %d",
packet->data[0]);
}