aboutsummaryrefslogtreecommitdiff
path: root/security/nss/files/patch-certutil.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-01-24 23:37:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-01-24 23:37:03 +0000
commit3d818d82d3b74a6a6ff33f62e5ac801b11a4e54c (patch)
treed2dc2e68c2d200be42fa08f1bb4c1becfddda547 /security/nss/files/patch-certutil.c
parent95c0e17d9106e7117e7b80d343ca210a89d1f40a (diff)
downloadports-3d818d82d3b74a6a6ff33f62e5ac801b11a4e54c.tar.gz
ports-3d818d82d3b74a6a6ff33f62e5ac801b11a4e54c.zip
Update to 3.11.
PR: 92017 Submitted by: mi
Notes
Notes: svn path=/head/; revision=154396
Diffstat (limited to 'security/nss/files/patch-certutil.c')
-rw-r--r--security/nss/files/patch-certutil.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/security/nss/files/patch-certutil.c b/security/nss/files/patch-certutil.c
deleted file mode 100644
index 357ddaf78e79..000000000000
--- a/security/nss/files/patch-certutil.c
+++ /dev/null
@@ -1,72 +0,0 @@
---- cmd/certutil/certutil.c Fri Apr 22 22:12:00 2005
-+++ cmd/certutil/certutil.c Fri Jul 22 02:02:20 2005
-@@ -131,3 +131,3 @@
- fflush (stdout);
-- if (gets (buffer) == NULL) {
-+ if (fgets(buffer, sizeof buffer, stdin) == NULL) {
- PORT_SetError(SEC_ERROR_INPUT_LEN);
-@@ -206,3 +206,3 @@
- puts (prompt);
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
- if (strlen (buffer) > 0) {
-@@ -1424,3 +1424,3 @@
- fprintf(stdout, "%-25s Other to finish\n", "");
-- if (gets (buffer)) {
-+ if (fgets(buffer, sizeof buffer, stdin)) {
- value = atoi (buffer);
-@@ -1439,3 +1439,3 @@
- puts ("Is this a critical extension [y/n]? ");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
-
-@@ -1580,3 +1580,3 @@
-
-- if (gets(buffer) == NULL) {
-+ if (fgets(buffer, sizeof buffer, stdin) == NULL) {
- PORT_SetError(SEC_ERROR_INPUT_LEN);
-@@ -1621,3 +1621,3 @@
- puts ("Is this a critical extension [y/n]? ");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
-
-@@ -1650,3 +1650,3 @@
- fprintf(stdout, "%-25s Other to finish\n", "");
-- if (gets (buffer) == NULL) {
-+ if (fgets(buffer, sizeof buffer, stdin) == NULL) {
- PORT_SetError(SEC_ERROR_INPUT_LEN);
-@@ -1664,3 +1664,3 @@
- puts ("Is this a critical extension [y/n]? ");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
-
-@@ -1769,3 +1769,3 @@
- puts ("Is this a CA certificate [y/n]?");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
- basicConstraint.isCA = (buffer[0] == 'Y' || buffer[0] == 'y') ?
-@@ -1774,3 +1774,3 @@
- puts ("Enter the path length constraint, enter to skip [<0 for unlimited path]:");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
- if (PORT_Strlen (buffer) > 0)
-@@ -1784,3 +1784,3 @@
- puts ("Is this a critical extension [y/n]? ");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
- rv = CERT_AddExtension
-@@ -1908,3 +1908,3 @@
- puts ("Is this a critical extension [y/n]? ");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
-
-@@ -1963,3 +1963,3 @@
- fflush (stdout);
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
- /* For simplicity, use CERT_AsciiToName to converse from a string
-@@ -2031,3 +2031,3 @@
- puts ("Is this a critical extension [y/n]? ");
-- gets (buffer);
-+ fgets(buffer, sizeof buffer, stdin);
-