-/* $Cambridge: exim/src/src/srs.c,v 1.5 2005/05/24 08:15:02 tom Exp $ */
+/* $Cambridge: exim/src/src/srs.c,v 1.7 2005/05/25 17:50:33 tom Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
uschar sbuf[4];
uschar *sbufp;
- // Check if this instance of Exim has not initialized SRS
+ /* Check if this instance of Exim has not initialized SRS */
if(srs == NULL)
{
int co = 0;
/* First secret specified in secrets? */
co = 0;
list = srs_secrets;
- if(secret == NULL)
+ if(secret == NULL || *secret == NULL)
{
if((secret = string_nextinlist(&list, &co, secret_buf, SRS_MAX_SECRET_LENGTH)) == NULL)
{