Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PIM Messagelib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
PIM Messagelib
Commits
7bdfd56d
Commit
7bdfd56d
authored
May 11, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store infoResult too
parent
ea14bb92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
messageviewer/src/dkim-verify/dkimauthenticationstatusinfoconverter.cpp
...src/dkim-verify/dkimauthenticationstatusinfoconverter.cpp
+1
-0
messageviewer/src/dkim-verify/dkimchecksignaturejob.cpp
messageviewer/src/dkim-verify/dkimchecksignaturejob.cpp
+3
-1
messageviewer/src/dkim-verify/dkimchecksignaturejob.h
messageviewer/src/dkim-verify/dkimchecksignaturejob.h
+1
-0
No files found.
messageviewer/src/dkim-verify/dkimauthenticationstatusinfoconverter.cpp
View file @
7bdfd56d
...
...
@@ -51,6 +51,7 @@ QVector<DKIMCheckSignatureJob::DKIMCheckSignatureAuthenticationResult> DKIMAuthe
DKIMCheckSignatureJob
::
DKIMCheckSignatureAuthenticationResult
convertedResult
;
convertedResult
.
method
=
MessageViewer
::
DKIMUtil
::
convertAuthenticationMethodStringToEnum
(
info
.
method
);
const
QString
&
infoResult
=
info
.
result
;
convertedResult
.
infoResult
=
infoResult
;
if
(
infoResult
==
QLatin1String
(
"none"
))
{
convertedResult
.
status
=
DKIMCheckSignatureJob
::
DKIMStatus
::
EmailNotSigned
;
}
else
if
(
infoResult
==
QLatin1String
(
"pass"
))
{
...
...
messageviewer/src/dkim-verify/dkimchecksignaturejob.cpp
View file @
7bdfd56d
...
...
@@ -704,6 +704,7 @@ QDebug operator <<(QDebug d, const DKIMCheckSignatureJob::DKIMCheckSignatureAuth
d
<<
" status "
<<
t
.
status
;
d
<<
" sdid "
<<
t
.
sdid
;
d
<<
" auid "
<<
t
.
auid
;
d
<<
" inforesult "
<<
t
.
infoResult
;
return
d
;
}
...
...
@@ -713,7 +714,8 @@ bool DKIMCheckSignatureJob::DKIMCheckSignatureAuthenticationResult::operator==(c
method
==
other
.
method
&&
status
==
other
.
status
&&
sdid
==
other
.
sdid
&&
auid
==
other
.
auid
;
auid
==
other
.
auid
&&
infoResult
==
other
.
infoResult
;
}
bool
DKIMCheckSignatureJob
::
DKIMCheckSignatureAuthenticationResult
::
isValid
()
const
...
...
messageviewer/src/dkim-verify/dkimchecksignaturejob.h
View file @
7bdfd56d
...
...
@@ -93,6 +93,7 @@ public:
struct
DKIMCheckSignatureAuthenticationResult
{
QString
errorStr
;
QString
infoResult
;
AuthenticationMethod
method
=
AuthenticationMethod
::
Unknown
;
DKIMCheckSignatureJob
::
DKIMStatus
status
=
DKIMCheckSignatureJob
::
DKIMStatus
::
Unknown
;
QString
sdid
;
//Signing Domain Identifier
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment