diff --git a/src/Cedar/Sam.c b/src/Cedar/Sam.c index 20a52e18..d723f4de 100644 --- a/src/Cedar/Sam.c +++ b/src/Cedar/Sam.c @@ -473,7 +473,7 @@ void SecurePassword(void *secure_password, void *password, void *random) } // Generate 160bit random number -void GenRamdom(void *random) +void GenRandom(void *random) { // Validate arguments if (random == NULL) diff --git a/src/Cedar/Sam.h b/src/Cedar/Sam.h index bd099dc5..8c298cf6 100644 --- a/src/Cedar/Sam.h +++ b/src/Cedar/Sam.h @@ -124,7 +124,7 @@ bool SamAuthUserByCert(HUB *h, char *username, X *x); bool SamAuthUserByPlainPassword(CONNECTION *c, HUB *hub, char *username, char *password, bool ast, UCHAR *mschap_v2_server_response_20, RADIUS_LOGIN_OPTION *opt); POLICY *SamGetUserPolicy(HUB *h, char *username); -void GenRamdom(void *random); +void GenRandom(void *random); void SecurePassword(void *secure_password, void *password, void *random); X *GetIssuerFromList(LIST *cert_list, X *cert);