Nmap Development mailing list archives

[PATCH] Remove SSL-related comment in nbase/nbase_rnd.c


From: Kris Katterjohn <kjak () ispwest com>
Date: Mon, 21 Aug 2006 13:10:41 -0500

OpenSSL isn't used for the random numbers anymore, so this comment will
only be confusing later on.

It's a diff against 4.20ALPHA4

Thanks,
Kris Katterjohn


--- x/nbase/nbase_rnd.c 2006-07-04 16:17:00.000000000 -0500
+++ y/nbase/nbase_rnd.c 2006-08-21 13:03:58.000000000 -0500
@@ -152,7 +152,6 @@ int get_random_bytes(void *buf, int numb
     } else fclose(fp);
   }

-  /* We're not OpenSSL, do things the 'old fashioned way' */
   if (numbytes <= bytesleft) { /* we can cover it */
     memcpy(buf, bytebuf + (sizeof(bytebuf) - bytesleft), numbytes);
     bytesleft -= numbytes;

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: