Does "due" mean the same thing in these two sentences?

Give him his due -- he is a good actor.

Give the devil his due.
the same meaning