Skip to content

Commit 33caa06

Browse files
gugumarkstos
authored andcommitted
fix returning value for signer
1 parent 733e865 commit 33caa06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passport-saml/algorithms.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function getDigestAlgorithm (shortName: string): string {
2222
}
2323
}
2424

25-
export function getSigner (shortName: string): string {
25+
export function getSigner (shortName: string): crypto.Signer {
2626
switch(shortName) {
2727
case 'sha256':
2828
return crypto.createSign('RSA-SHA256');

0 commit comments

Comments
 (0)