Skip to content

Commit 6b1a837

Browse files
committed
Remove vestigial CHECK_FOR_INTERRUPTS call.
Commit e710b65 inserted code in md5_crypt_verify to disable and later re-enable interrupts, with a CHECK_FOR_INTERRUPTS call as part of the second step, to process any interrupts that had been held off. Commit 6647248 removed the interrupt disable/re-enable code, but left behind the CHECK_FOR_INTERRUPTS, even though this is now an entirely random, pointless place for one. md5_crypt_verify doesn't run long enough to need such a check, and if it did, this would still be the wrong place to put one.
1 parent 5e0b5dc commit 6b1a837

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/libpq/crypt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ md5_crypt_verify(const Port *port, const char *role, char *client_pass,
8181
return STATUS_ERROR; /* empty password */
8282
}
8383

84-
CHECK_FOR_INTERRUPTS();
85-
8684
/*
8785
* Compare with the encrypted or plain password depending on the
8886
* authentication method being used for this connection. (We do not

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy