57 #define TEMPLATE "<XXXXXXXXXXXXXXXXXXXX.0@localhost>"
61 #define DIGIT(c) (((c) & 0x0F) > 9 ? \
62 '0' + ((c) & 0x0F) - 10 : \
76 rc = gc_nonce (nonce,
sizeof (nonce));
80 for (i = 0; i <
sizeof (nonce); i++)
82 challenge[1 + i] =
DIGIT (nonce[i]);
83 challenge[11 + i] =
DIGIT (nonce[i] >> 4);
int cram_md5_challenge(char challenge[CRAM_MD5_CHALLENGE_LEN])
#define CRAM_MD5_CHALLENGE_LEN