Skip to content

Commit a335539

Browse files
committed
Handle different security outputs for windows vs lonux
1 parent e8572b1 commit a335539

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/snmp/tests/snmp-object-setSecurity_error.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ bool(false)
6868

6969
Warning: SNMP::setSecurity(): Error generating a key for authentication pass phrase 'te': Generic error (The supplied password length is too short.) in %s on line %d
7070
bool(false)
71-
Security protocol must be one of "AES256", "AES256C", "AES192", "AES192C", "AES128", "AES", or "DES"
72-
Security protocol must be one of "AES256", "AES256C", "AES192", "AES192C", "AES128", "AES", or "DES"
71+
Security protocol must be one of %s
72+
Security protocol must be one of %s
7373

7474
Warning: SNMP::setSecurity(): Error generating a key for privacy pass phrase '': Generic error (The supplied password length is too short.) in %s on line %d
7575
bool(false)

ext/snmp/tests/snmp3-error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ try {
5959
?>
6060
--EXPECTF--
6161
Checking error handling
62-
Security level must be one of "noAuthNoPriv", "authNoPriv", or "authPriv"
62+
Security level must be one of %s
6363
Security level must be one of "noAuthNoPriv", "authNoPriv", or "authPriv"
6464
Authentication protocol must be %s
6565

0 commit comments

Comments
 (0)